<#assign s=JspTaglibs["/WEB-INF/tld/struts-tags.tld"] />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#import "/WEB-INF/tpl/public/DetailHead.ftl" as dHead> <@dHead.detailHead title="系统管理">
<link rel="stylesheet" type="text/css" href="${c}/css/${USER_SESSION.theme}/ui.jqgrid.css" />
<script language="javascript" src="${c}/js/ui/i18n/grid.locale-cn.js"></script>
<script language="javascript" src="${c}/js/ui/jquery.jqGrid.min.js"></script>
<script language="javascript" src="${c}/js/ui/jquery.ui.accordion.min.js"></script>
<script language="javascript" src="${c}/js/oa/system/system-edit.js"></script>
</@dHead.detailHead>
<body>

<#import "/WEB-INF/tpl/public/DetailContent.ftl" as dc>
<@dc.detailContent title="系统设置">
<@s.form id="systemForm" name="form1" action="saveSystem.action" method="post">
<table align="center" width="100%">
	<tr>
		<td colspan="3" class="subtitle">系统信息</td>
		<@s.hidden name="edit" id="edit_flag" Class="required"/>
	</tr>
	<tr>
		<td width="15%" class="label">系统编码(<font color="red">*</font>):</td>
		<td><#if edit==false><@s.textfield name="system.system_code"
		id="system_code" maxlength="20" Class="required"/>&nbsp;<span id="system_code_msg" style="color:red"></span>
		<#else><@s.textfield name="system.system_code" id="system_code" maxlength="20" Class="required" readonly="true"/></#if></td>
	</tr>
	<tr>
		<td width="15%" class="label">系统名称(<font color="red">*</font>):</td>
		<td><@s.textfield name="system.system_name" id="system_name" maxlength="20" Class="required"/></td>
	</tr>
	<tr>
		<td width="15%" class="label">系统路径:</td>
		<td><@s.textfield name="system.system_url" id="system_url" maxlength="1024" /></td>
	</tr>
	<tr>
		<td width="15%" class="label">已启用:</td>
		<td>
		<#if system?exists&&system.used_flag?exists&&system.used_flag=='1'><input type="checkbox" name="system.used_flag" value='1' id='freeze_flag' checked="checked"/>
		<#else><input type="checkbox" name="system.used_flag" value='1' id='freeze_flag'/></#if>
		</td>
	</tr>
	<tr>
		<td width="15%" class="label">系统描述:</td>
		<td><@s.textarea name="system.description" style="height:100px" id="description" maxlength="1024"/></td>
	</tr>
</table>
<div class="action" align="center">
<input type="button" value="保存" id="saveSystemButt"/>&nbsp;&nbsp;
<input type="button" value="取消" onClick="window.close()"/>&nbsp;&nbsp;</div>
</@s.form>
</@dc.detailContent>
</body>
</html>